import axios from 'axios'
import {SERVER_URL} from '@/util/constant'

function instance () {
  return axios.create({
    timeout: 10 * 1000,
    baseURL: SERVER_URL
  })
}

export const noAuth = instance()
